<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学员状态管理</title>
    <%@ include file="/WEB-INF/views/common/common.jsp" %>
    <script type="text/javascript" src="/static/js/system/studentstatus.js"></script>
</head>
<body>
<%--列表--%>
<table id="stu_datagrid"></table>
<%--列表顶部工具栏--%>
<div id="stu_toolbar">
    <div id="tb">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="add()">添加</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"onclick="edit()">编辑</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="change_btn" onclick="changeState()">审核</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="reload()">刷新</a>


        <input class="easyui-textbox" type="text" name="keyword" id="keyword" prompt="按照名字和电话查询"/>
        开始时间 <input class="easyui-datebox" type="text" name="beginDate" id="beginDate" />～
       结束时间 <input class="easyui-datebox" type="text" name="endDate" id="endDate" />
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()">查询</a>



    </div>
</div>
<%--保存/编辑 对话框--%>
<div id="stu_dialog">
    <form method="post" id="stu_form">
    <input type="hidden"  id="stuId" name="id">
    <table align="center" style="margin-top:15px" >
       <tr>
            <td>学员姓名:</td>
           <td><input class="easyui-combobox" name="emp.id" data-options=
               "url:'/officialstu/selectName',
               valueField:'id',
               textField:'name',
               panelHeight:'auto'"/>
         </td>
        </tr>
        <tr>
            <td>总学费:</td>
            <td><input type="text" class="easyui-textbox" name="totlefee"  />
            </td>
        </tr>
        <tr>
            <td>已交款:</td>
            <td><input type="text" class="easyui-textbox" name="accountpaid"/>
            </td>
        </tr>
        <tr>
            <td>未交款:</td>
            <td><input type="text" class="easyui-textbox" name="unpaid"/>
            </td>
        </tr>
        <tr>
            <td>升班留级时间:</td>
            <td><input type="text" class="easyui-datebox" name="time"/>
            </td>
        </tr>
        <tr>
            <td>联系电话:</td>
            <td><input type="text" class="easyui-textbox" name="tel"/>
            </td>
        </tr>
        <tr>
            <td>以前的班级:</td>
            <td><input type="email" class="easyui-textbox" name="oldgrade"/></td>
        </tr>
        <tr>
            <td>现在的班级:</td>
            <td><input type="email" class="easyui-textbox" name="newgrade"/></td>
        </tr>
        <tr>
            <td>营销人员:</td>
            <td><input class="easyui-combobox" name="emp.id"
                       data-options="url:'/employee/queryDates',valueField:'id',textField:'realName',panelHeight:'auto'"
            /></td>
        </tr>

        <tr>
            <td>状态</td>
            <td>
                <input class="easyui-combobox" type="text" name="statu"
                       data-options="valueField:'value',textField:'label',panelHeight:'auto',
                    data:[{
                        label:'已审核',
                         value:'1'
                    },{
                         label:'未审核',
                         value:'0'
                    }]" >
            </td>
        </tr>
    </table>
    </form>
</div>

<%--保存/编辑 对话框 底部工具栏 --%>
    <div id="bb">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="save()">添加</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"onclick="cencel()">取消</a>
    </div>
</body>
</html>
